From: Giovanni Campagna Date: Fri, 14 Sep 2012 16:15:51 +0000 (+0200) Subject: TelepathyClient: fix regression from 6f5b700833305f455f3397f52baab11f69ec77d1 X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5864 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e62c66b1534226e1adde0687e32d39ed989907a3;p=gnome-shell.git TelepathyClient: fix regression from 6f5b700833305f455f3397f52baab11f69ec77d1 https://bugzilla.gnome.org/show_bug.cgi?id=684035 --- diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index b1db3c6f0..42317065e 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -488,7 +488,7 @@ const ChatSource = new Lang.Class({ let rightClickMenu = this.parent(); item = new PopupMenu.PopupMenuItem(''); item.actor.connect('notify::mapped', Lang.bind(this, function() { - item.label.set_text(source.isMuted ? _("Unmute") : _("Mute")); + item.label.set_text(this.isMuted ? _("Unmute") : _("Mute")); })); item.connect('activate', Lang.bind(this, function() { this.setMuted(!this.isMuted);